<%@ page import="com.opeace.School" %>

<div class="fieldcontain ${hasErrors(bean: schoolInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="school.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${schoolInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: schoolInstance, field: 'address', 'error')} ">
	<label for="address">
		<g:message code="school.address.label" default="Address" />
		
	</label>
	<g:textField name="address" value="${schoolInstance?.address}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: schoolInstance, field: 'contactName', 'error')} ">
	<label for="contactName">
		<g:message code="school.contactName.label" default="Contact Name" />
		
	</label>
	<g:textField name="contactName" value="${schoolInstance?.contactName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: schoolInstance, field: 'contactPosition', 'error')} ">
	<label for="contactPosition">
		<g:message code="school.contactPosition.label" default="Contact Position" />
		
	</label>
	<g:textField name="contactPosition" value="${schoolInstance?.contactPosition}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: schoolInstance, field: 'description', 'error')} ">
	<label for="description">
		<g:message code="school.description.label" default="Description" />
		
	</label>
	<g:textField name="description" value="${schoolInstance?.description}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: schoolInstance, field: 'phoneNumber', 'error')} ">
	<label for="phoneNumber">
		<g:message code="school.phoneNumber.label" default="Phone Number" />
		
	</label>
	<g:textField name="phoneNumber" value="${schoolInstance?.phoneNumber}"/>
</div>

